﻿@using GTAuto.DAL.DAL
@using GTAuto.DAL.Enums
@{
   var cats =  DALPropertyCategory.Singleton.GetAll(BrandTypeEnum.Auto);
   var tires = DALPropertyCategory.Singleton.GetAll(BrandTypeEnum.Tires);
   var disc = DALPropertyCategory.Singleton.GetAll(BrandTypeEnum.Disc);
}

<h3>
    Авто</h3>
<ul class="toggle">
    @foreach(var item in cats)
    {
         <li class="icn_add_user selected">@Html.ActionLink(item.Name,"Index","ModificationProperty",new {@id=item.Id}, new {}) </li>
    }
    
</ul>

<h3>
    Резина</h3>
<ul class="toggle">
    @foreach (var item in tires)
    {
         <li class="icn_add_user selected">@Html.ActionLink(item.Name,"Index","ModificationProperty",new {@id=item.Id}, new {}) </li>
    }
    
</ul>

<h3>
    Диски</h3>
<ul class="toggle">
    @foreach (var item in disc)
    {
         <li class="icn_add_user selected">@Html.ActionLink(item.Name,"Index","ModificationProperty",new {@id=item.Id}, new {}) </li>
    }
    
</ul>
